package com.example.sps.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @ProjectName: Sps
 * @Titile: EmpPageQueryDTO
 * @Author: nency
 * @Description: TODO
 */
@Data
public class EmpPageQueryDTO{
    private Integer page;
    private Integer pageSize;
    private String keyword;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;
    private Integer roleId;
}
